package com.jinzhi.jinzhidata.util;

import java.math.BigDecimal;

/**
 * @author vansl
 */
public class Constant {

    public static final String BASE_URL = "http://jinzhidata.com";

    // 短信相关
    public static final int SMS_SDK_APPID = 1400193876;

    public static final int SMS_TEMPLATE_ID = 298080;

    public static final String SMS_APPKEY = "473820c1c0f62172516da1c9fe745f19";

    public static final String SMS_SIGN = "尽智研究院";

    // 微信相关
    public static final String WX_APPID = "wxc634f9a658b7c3eb";

    public static final String WX_MCH_ID = "1537545091";

    public static final String WX_KEY = "beijingjinzhijiaotongkeji6666666";

    public static final String WX_SECRET = "7ecdf0992d014c45d198fe20516674f0";

    // 文件相关
    public static final String BASE_FILE_DIRECTORY = "/root/file";

    // 图片文件目录
    public static final String IMAGE_FILE_DIRECTORY = BASE_FILE_DIRECTORY + "/image/";

    // 资源文件目录
    public static final String RESOURCE_FILE_DIRECTORY = BASE_FILE_DIRECTORY + "/resource/";

    // 默认资源封面
    public static final String DEFAULT_RESOURCE_COVER_NAME = "default_resource_cover.jpg";

    // 支付相关
    // 积分倍率
    public static final BigDecimal POINT_CASH_RATE = new BigDecimal(10);

    public static final String WALLET_OPERATION_CHARGE = "CHAGE";

    public static final String WALLET_OPERATION_WITHDRAW = "WITHDRAW";


    // 公众号消息相关
    // 与接口配置信息中的Token要一致
    public static final String TOKEN = "hellojinzhi";

    public static final String RESP_MESSAGE_TYPE_TEXT = "text";

    public static final Object REQ_MESSAGE_TYPE_TEXT = "text";

    public static final Object REQ_MESSAGE_TYPE_IMAGE = "image";

    public static final Object REQ_MESSAGE_TYPE_VOICE = "voice";

    public static final Object REQ_MESSAGE_TYPE_VIDEO = "video";

    public static final Object REQ_MESSAGE_TYPE_LOCATION = "location";

    public static final Object REQ_MESSAGE_TYPE_LINK = "link";

    public static final Object REQ_MESSAGE_TYPE_EVENT = "event";

    public static final Object EVENT_TYPE_SUBSCRIBE = "subscribe";

    public static final Object EVENT_TYPE_UNSUBSCRIBE = "unsubscribe";

    public static final Object EVENT_TYPE_SCAN = "SCAN";

    public static final Object EVENT_TYPE_LOCATION = "LOCATION";

    public static final Object EVENT_TYPE_CLICK = "CLICK";

    public static final String FromUserName = "FromUserName";

    public static final String ToUserName = "ToUserName";

    public static final String MsgType = "MsgType";

    public static final String Content = "Content";

    public static final String Event = "Event";

    public static final String Event_KEY = "EventKey";

    public static final String QR_SCENE = "QR_SCENE";

    public static final String QR_STR_SCENE = "QR_STR_SCENE";

    public static final String QR_LIMIT_SCENE = "QR_LIMIT_SCENE";

    public static final String QR_LIMIT_STR_SCENE = "QR_LIMIT_STR_SCENE";

}
